<template>
  <div class="ne-container">
    <doctor-card
      disabled
      callphone
      v-for="item in dataSource"
      :key="item.indexCode"
      :row="item"
      isLeader
    />
    <van-empty v-if="!dataSource.length" description="暂无数据" />
  </div>
</template>

<script>
import DoctorCard from './components/DoctorCard2.vue'
import pagingMixin from '../../mixins/pagingMixin'
export default {
  name: 'wx_pages_zhfw_doctorResource',
  components: { DoctorCard },
  mixins: [pagingMixin],
  data() {
    return {
      talentList: [],
      restfulApi: '/tbTalentDatabase/page',
    }
  },
  mounted() {
    this.postMethodsList()
  },
  methods: {
    postMethodsList() {
      this.dataSource = [
        {
          talentName: '侯书记',
          talentGoodDirection: '铁北社区书记',
          talentPhone: '13451378019',
          personName: '侯书记',
        },
        {
          talentName: '贾书记',
          talentGoodDirection: '蓝天街道书记',
          talentPhone: '13614878333',
          personName: '贾书记',
        },
        {
          talentName: '赵强',
          talentGoodDirection: '居委会副主任',
          talentPhone: '18904776091',
          personName: '赵强',
        },
      ]
    },
  },
}
</script>
